#include<iostream>
using namespace std;
class Complex
{
private:
	float real;
	float imag;
public:
	Complex(float r = 0, float i = 0);
	friend istream& operator>>(istream& in, Complex& com);
	friend ostream& operator<<(ostream& out, const Complex& com);
};